import 'package:flutter/material.dart';
import 'package:ppcar/page/integral/integralRule.dart';

class Integral extends StatefulWidget {
  @override
  IntegralState createState() => new IntegralState();
}

class IntegralState extends State<Integral> {

  @override
  Widget build(BuildContext context) {
    return new Scaffold(
      appBar: new AppBar(
        leading: IconButton(icon: Icon(Icons.keyboard_arrow_left), onPressed: null,color: Colors.white,),
        title: new Text('我的积分'),
        centerTitle: true,
        actions: <Widget>[
          IconButton(icon: Icon(Icons.help_outline), onPressed: ()=>Navigator.of(context).push(
              MaterialPageRoute(builder: (context)=>IntegralRule())
          ))
        ],
      ),
    );
  }
  @override
  void initState() {
    // TODO: implement initState
    super.initState();
  }

  @override
  void dispose() {
    // TODO: implement dispose
    super.dispose();
  }

  @override
  void didUpdateWidget(Integral oldWidget) {
    // TODO: implement didUpdateWidget
    super.didUpdateWidget(oldWidget);
  }

  @override
  void didChangeDependencies() {
    // TODO: implement didChangeDependencies
    super.didChangeDependencies();
  }
}